package icu.qx.qc.domain.pbs;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工序物料清单对象 pbs_procedure_material
 *
 * @author yong
 * @date 2024-06-15
 */
public class PbsProcedureMaterial extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 物料code
     */
    private String pdCode;

    /**
     * 工艺路线code
     */
    private String pmProuteCode;

    /**
     * 工序code
     */
    private String procudureCode;

    /**
     * 计划工时
     */
    @Excel(name = "计划工时")
    private Long procedureMTime;

    /**
     * 计划用料
     */
    @Excel(name = "计划用料")
    private Long procudereMNum;

    /**
     * 工时报酬率 百分比
     */
    @Excel(name = "工时报酬率 百分比")
    private Long procedureMRate;

    public void setPdCode(String pdCode) {
        this.pdCode = pdCode;
    }

    public String getPdCode() {
        return pdCode;
    }

    public void setPmProuteCode(String pmProuteCode) {
        this.pmProuteCode = pmProuteCode;
    }

    public String getPmProuteCode() {
        return pmProuteCode;
    }

    public void setProcudureCode(String procudureCode) {
        this.procudureCode = procudureCode;
    }

    public String getProcudureCode() {
        return procudureCode;
    }

    public void setProcedureMTime(Long procedureMTime) {
        this.procedureMTime = procedureMTime;
    }

    public Long getProcedureMTime() {
        return procedureMTime;
    }

    public void setProcudereMNum(Long procudereMNum) {
        this.procudereMNum = procudereMNum;
    }

    public Long getProcudereMNum() {
        return procudereMNum;
    }

    public void setProcedureMRate(Long procedureMRate) {
        this.procedureMRate = procedureMRate;
    }

    public Long getProcedureMRate() {
        return procedureMRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("pdCode", getPdCode())
                .append("pmProuteCode", getPmProuteCode())
                .append("procudureCode", getProcudureCode())
                .append("procedureMTime", getProcedureMTime())
                .append("procudereMNum", getProcudereMNum())
                .append("procedureMRate", getProcedureMRate())
                .toString();
    }
}
